import { request } from "@/utils/service"

export interface IUserAccount {
  id?: number
  account: string
  invitationCode: string
  createTime: string
  member: IMember
}

export interface IMember {
  memberInfo: string
  businessLicense: string
  principal: string
  contact: string
  vipStartTime: string
  LocalDateTime: string
  vipLevel: number
}

export interface IGetMemberListDataApi {
  account: string
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
}

export function getMemberList(params: IGetMemberListDataApi) {
  return request({
    url: "/travel/manage/member/list",
    method: "get",
    params
  })
}
